﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>repeat js</title>
    <script src="jquery-1.8.2.js"></script>
    <script src="angular.js"></script>
    <script src="newRepeat.js"></script>
</head>
<body>

    <div ng-app="demoApp">
        <div ng-controller="repeatsController">

            <div ng-repeat="item in array">
                <h2>{{item.Id}}, {{item.Videos | json}}</h2>

                <input type="text" ng-model="item.pageIndex"/><button ng-click="getSomeData(item.Id, item.pageIndex)"> mock query page {{item.pageIndex}}</button>
            </div>

        </div>
    </div>

</body>
</html>